home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
BYACC__
/
MAKEFILE.AZT
< prev
next >
Wrap
Text File
|
1989-11-19
|
3KB
|
147 lines
# This is the Makefile to compile byacc using Aztec C 3.6c
# using MPW Make. If at all possible, use MPW C because the
# performance is better.
#
# Earle R. Horton
# Sunday, November 19, 1989
#
PARSER = byaccpar
DEST = :
.o ─ .c
cc -A {default}.c -o {default}.asm {CFLAGS}
as -o {default}.o {default}.asm -ZAP
CFLAGS = --N -dAZTECC
HDRS = action.h ╢
defs.h ╢
dep.h ╢
files.h ╢
gram.h ╢
new.h ╢
state.h ╢
symtab.h ╢
text.h ╢
tokens.h
LDFLAGS =
LIBS = -lmpw -lc
LINKER = ln
MAKEFILE = Makefile
OBJS = closure.o ╢
conflicts.o ╢
derives.o ╢
error.o ╢
files.o ╢
genstates.o ╢
gram.o ╢
lalr.o ╢
main.o ╢
mkpar.o ╢
new.o ╢
nullable.o ╢
optim.o ╢
output.o ╢
print.o ╢
reader.o ╢
symtab.o ╢
text.o ╢
warshall.o ╢
yylex.o
PRINT = pr
PROGRAM = byacc
SRCS = closure.c ╢
conflicts.c ╢
derives.c ╢
error.c ╢
files.c ╢
genstates.c ╢
gram.c ╢
lalr.c ╢
main.c ╢
mkpar.c ╢
new.c ╢
nullable.c ╢
optim.c ╢
output.c ╢
print.c ╢
reader.c ╢
symtab.c ╢
text.c ╢
warshall.c ╢
yylex.c
all ─ {PROGRAM}
{PROGRAM} ─ {OBJS}
echo -n "Loading {PROGRAM} ... "
delete -i {PROGRAM}
{LINKER} {LDFLAGS} {OBJS} {LIBS} -o {PROGRAM}
catenate {PARSER} >> {PROGRAM}
setfile {PROGRAM} -t MPST -c 'MPS '
echo "done"
clean ─
delete -i {OBJS}
depend ─; @mkmf -f {MAKEFILE} PROGRAM={PROGRAM} DEST={DEST}
index ─
ctags -wx {HDRS} {SRCS}
install ─ {PROGRAM}
@echo Installing {PROGRAM} in {DEST}
@install -s {PROGRAM} {DEST}
listing ─; @{PRINT} Makefile {HDRS} {SRCS} byaccpar | lpr
lint ─; @lint {SRCS}
program ─ {PROGRAM}
tags ─ {HDRS} {SRCS}
ctags {HDRS} {SRCS}
update ─ {DEST}{PROGRAM}
{DEST}{PROGRAM} ─ {SRCS} {LIBS} {HDRS}
@make -f {MAKEFILE} DEST={DEST} install
###
closure.o ─ {include}stdio.h defs.h dep.h new.h gram.h
conflicts.o ─ {include}stdio.h defs.h dep.h new.h files.h gram.h state.h
derives.o ─ {include}stdio.h defs.h new.h gram.h
error.o ─ {include}stdio.h {include}signal.h ╢
defs.h files.h text.h symtab.h
files.o ─ {include}stdio.h {include}files.h files.h new.h defs.h
genstates.o ─ {include}stdio.h defs.h dep.h new.h gram.h state.h
getargs.o ─ {include}stdio.h defs.h files.h
lalr.o ─ {include}stdio.h defs.h dep.h gram.h new.h state.h
main.o ─ {include}stdio.h {include}signal.h ╢
dep.h files.h state.h symtab.h tokens.h ╢
text.h defs.h
mkpar.o ─ {include}stdio.h action.h defs.h dep.h files.h gram.h new.h ╢
state.h tokens.h text.h symtab.h
new.o ─ defs.h
nullable.o ─ {include}stdio.h gram.h new.h defs.h
optim.o ─ {include}stdio.h defs.h dep.h gram.h new.h state.h
output.o ─ {include}stdio.h action.h defs.h dep.h new.h files.h gram.h ╢
state.h
print.o ─ {include}stdio.h action.h defs.h dep.h new.h files.h gram.h ╢
state.h
reader.o ─ {include}stdio.h defs.h dep.h files.h gram.h new.h symtab.h ╢
text.h tokens.h
symtab.o ─ {include}stdio.h defs.h new.h symtab.h tokens.h text.h
text.o ─ {include}stdio.h files.h new.h text.h defs.h
warshall.o ─ dep.h defs.h
yylex.o ─ {include}stdio.h defs.h dep.h files.h new.h symtab.h text.h ╢
tokens.h